package me.winds.infrared;

import android.os.Environment;

import java.io.File;

/**
 * Auther:  winds
 * Data:    2017/7/26
 * Version: 1.0
 * Desc:    APP设置信息管理类
 */

public class AppConfig {

    public final static String HOST = "http://www.qilin70.cn/";

    /*******************************************************************************************************************/


    /*******************************************************************************************************************/

//    public final static String DEFAULT_APP_FOLDER = Environment.getExternalStorageState() + File.separator + WrapperApplication.getInstance().getPackageName();
    public final static String DEFAULT_APP_FOLDER = Environment.getExternalStorageDirectory() + File.separator + "infrared";;
    public final static String DEFAULT_LOG_PATH = DEFAULT_APP_FOLDER + File.separator + "log";
    public final static String DEFAULT_IMAGE_PATH = DEFAULT_APP_FOLDER + File.separator + "image";
    /*******************************************************************************************************************/

    //Glide图片缓存路径
    public static final String DEFAULT_CACHE_PATH = DEFAULT_APP_FOLDER + File.separator + "cache";
    public static final int DISK_CACHE_SIZE = 200 * 1024 * 1024;
    public static final int MAX_MEMORY_CACHE_SIZE = 5 * 1024 * 1024;

    /*******************************************************************************************************************/
    public static final int SIZE_WIDTH = 120;
    public static final int SIZE_HEIGHT = 160;


    /*******************************************************************************************************************/
    public static final String KEY_BUGLY = "f24757a597";

}
